<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="lib/jquery-3.2.1.js"></script>
    <link rel="stylesheet" href="CSS/小米.css">
</head>
<body>
    <div class="head">
        <div class="logn">
            <img src="images/mistore_logo.png">
        </div>       
    </div>
 <div class="body">
    <div class="form">
        <form>
            <p class="login">
                <span class="active">账号登录</span>
                <span style="color:#e0e0e0" class="wire">|</span>
                <span class="saoma">扫码登录</span>
            </p>
            
         <div class="signin">

            <p class="phone">
                <input type="text" placeholder="邮箱/手机号/小米账号"/>
            </p>
            <p class="password">
                <input type="password" placeholder="密码"/>
            </p>
            <p class="submit">
                <input type="submit" value="登录"/>
            </p>    
        </form>
        <p class="register">
            <span>注册小米账号</span>
            <span>|</span>
            <span>忘记密码?</span>
        </p>
        <div class="footer">
            <p class="qita">
                <span class="left"></span>
                其他方式登录
                <span class="right"></span>
            </p>
        </div>
            <div class="AllIcon">
                <a href="#" ><span class="qq"></span></a>
                <a href="#"><span  class="weibo"></span></a>
                <a href="#" ><span class="pay"></span></a>
                <a href="#" ><span class="wechat"></span></a>
            </div>
        </div>
    </div>
 </div>
    <div class="bottom">
        <p>
            <a class="a1 a2" href="#">简体</a>|
            <a class="a1"  href="#">繁体</a>|
            <a class="a1"  href="#">English</a>|
            <a class="a1"  href="#">常见问题</a>
        </p>
             <a class="a1" href="#">小米公司版权所有—京ICP备10046444-  <img src="images/ghs.png"> 京公安王备11010802020134号—京ICP证110507号</a>
     </div>
     <script>
         $(".signin div").click(function(){
             $(this).addClass("active").siblings().removeClass("active");
             $(".p").eq($(this).index()).show().siblings().hide()
         })
     </script>

</body>
</html>